package com.supply.dl.bean;

import java.math.BigDecimal;
import java.util.ArrayList;

/**
 * 新增投料单时候的 详情
 * <p>
 * Author: tian <br>
 * Time: 2018/9/10 10:34
 */
public class TouliaoAddSheetBean extends BaseBean {

    /**
     * <pre>
     id	string	生产订单id
     erpOrderNo	string	生产订单号
     productWorkshopName	string	生产车间
     orderStatusName	string	订单状态
     addTime	string	订单创建时间

     投料明细(stockPositionList) 说明：返回的是JSON数组
     id	string	库位ID
     stockName	string	库位名称
     skuCode	string	物料编码
     skuName	string	物料名称
     stockStatus	string	库存状态编码	不显示
     stockStatusName	string	库存状态
     stockType	string	库存类型编码	不显示
     stockTypeName	string	库存类型
     unitId	string	规格ID	不显示
     unitName	string	规格名称
     batchNo	string	批次号
     avaiableAmount	string	库存数量(件)
     avaiableWeight	string	库存数量(吨)
     avaiableVolume	string	库存数量(方)
     unit	string	物料主单位
     invId	string	库存ID	不显示
     *
     * <pre/>
     */

    /**
     * 生产订单id
     */
    private String id;

    /**
     * 生产订单号
     */
    private String erpOrderNo;

    /**
     * 生产车间
     */
    private String productWorkshopName;

    /**
     * 订单状态
     */
    private String orderStatusName;

    /**
     * 订单创建时间
     */
    private String addTime;

    /**
     * 投料明细列表
     */
    private ArrayList<TLjob> stockPositionList;

    public static class TLjob extends BaseBean {


        /**
         * <pre>
         id	string	库位ID
         stockName	string	库位名称
         skuCode	string	物料编码
         skuName	string	物料名称
         stockStatus	string	库存状态编码	不显示
         stockStatusName	string	库存状态
         stockType	string	库存类型编码	不显示
         stockTypeName	string	库存类型
         unitId	string	规格ID	不显示
         unitName	string	规格名称
         batchNo	string	批次号
         avaiableAmount	string	库存数量(件)
         avaiableWeight	string	库存数量(吨)
         avaiableVolume	string	库存数量(方)
         unit	string	物料主单位
         invId	string	库存ID	不显示
         *
         * <pre/>
         */


        /**
         * 作业id
         */
        private String id;

        /**
         * 库位id
         */
        private String stockId;

        /**
         * 库位名称
         */
        private String stockName;

        /**
         * 物料编码
         */
        private String skuCode;

        /**
         * 物料名称
         */
        private String skuName;

        /**
         * 物料id
         */
        private String skuId;

        /**
         * 库存状态编码
         */
        private String stockStatus;

        /**
         * 库存状态
         */
        private String stockStatusName;

        /**
         * 库存类型编码
         */
        private String stockType;

        /**
         * 库存类型名字
         */
        private String stockTypeName;

        /**
         * 规格id
         */
        private String unitId;

        /**
         * 规格名称
         */
        private String unitName;

        /**
         * 批次号
         */
        private String batchNo;

        /**
         * 库存数量(件)
         */
        private BigDecimal avaiableAmount;

        /**
         * 库存数量(吨)
         */
        private BigDecimal avaiableWeight;

        /**
         * 库存数量(方)
         */
        private BigDecimal avaiableVolume;

        /**
         * 物料单位
         */
        private String unit;

        /**
         * 库存id
         */
        private String invId;

        /**
         * 投料数量
         */
        private BigDecimal amount;

        /**
         * 投料数量
         */
        private BigDecimal weight;

        /**
         * 投料数量
         */
        private BigDecimal volume;

        /**
         * 保重
         */
        private BigDecimal packageWeight;

        /**
         * 仓库id
         */
        private String whId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStockId() {
            return stockId;
        }

        public void setStockId(String stockId) {
            this.stockId = stockId;
        }

        public String getStockName() {
            return stockName;
        }

        public void setStockName(String stockName) {
            this.stockName = stockName;
        }

        public String getSkuCode() {
            return skuCode;
        }

        public void setSkuCode(String skuCode) {
            this.skuCode = skuCode;
        }

        public String getSkuName() {
            return skuName;
        }

        public void setSkuName(String skuName) {
            this.skuName = skuName;
        }

        public String getSkuId() {
            return skuId;
        }

        public void setSkuId(String skuId) {
            this.skuId = skuId;
        }

        public String getStockStatus() {
            return stockStatus;
        }

        public void setStockStatus(String stockStatus) {
            this.stockStatus = stockStatus;
        }

        public String getStockStatusName() {
            return stockStatusName;
        }

        public void setStockStatusName(String stockStatusName) {
            this.stockStatusName = stockStatusName;
        }

        public String getStockType() {
            return stockType;
        }

        public void setStockType(String stockType) {
            this.stockType = stockType;
        }

        public String getStockTypeName() {
            return stockTypeName;
        }

        public void setStockTypeName(String stockTypeName) {
            this.stockTypeName = stockTypeName;
        }

        public String getUnitId() {
            return unitId;
        }

        public void setUnitId(String unitId) {
            this.unitId = unitId;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getBatchNo() {
            return batchNo;
        }

        public void setBatchNo(String batchNo) {
            this.batchNo = batchNo;
        }

        public BigDecimal getAvaiableAmount() {
            return avaiableAmount;
        }

        public void setAvaiableAmount(BigDecimal avaiableAmount) {
            this.avaiableAmount = avaiableAmount;
        }

        public BigDecimal getAvaiableWeight() {
            return avaiableWeight;
        }

        public void setAvaiableWeight(BigDecimal avaiableWeight) {
            this.avaiableWeight = avaiableWeight;
        }

        public BigDecimal getAvaiableVolume() {
            return avaiableVolume;
        }

        public void setAvaiableVolume(BigDecimal avaiableVolume) {
            this.avaiableVolume = avaiableVolume;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getInvId() {
            return invId;
        }

        public void setInvId(String invId) {
            this.invId = invId;
        }

        public BigDecimal getAmount() {
            return amount;
        }

        public void setAmount(BigDecimal amount) {
            this.amount = amount;
        }

        public BigDecimal getWeight() {
            return weight;
        }

        public void setWeight(BigDecimal weight) {
            this.weight = weight;
        }

        public BigDecimal getVolume() {
            return volume;
        }

        public void setVolume(BigDecimal volume) {
            this.volume = volume;
        }

        public BigDecimal getPackageWeight() {
            return packageWeight;
        }

        public void setPackageWeight(BigDecimal packageWeight) {
            this.packageWeight = packageWeight;
        }

        public String getWhId() {
            return whId;
        }

        public void setWhId(String whId) {
            this.whId = whId;
        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getErpOrderNo() {
        return erpOrderNo;
    }

    public void setErpOrderNo(String erpOrderNo) {
        this.erpOrderNo = erpOrderNo;
    }

    public String getProductWorkshopName() {
        return productWorkshopName;
    }

    public void setProductWorkshopName(String productWorkshopName) {
        this.productWorkshopName = productWorkshopName;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public ArrayList<TLjob> getStockPositionList() {
        return stockPositionList;
    }

    public void setStockPositionList(ArrayList<TLjob> stockPositionList) {
        this.stockPositionList = stockPositionList;
    }
}
